package com.ruoyi.system.domain.vo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.system.domain.SpendDetail;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.List;

/**
 * @Author chenyouliang
 * @create 2025/7/25 11:34
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SpendDetailVo extends BaseEntity {

    /**
     * 参数主键
     */
    @Excel(name = "参数主键", cellType = Excel.ColumnType.NUMERIC)
    private Integer id;

    /**
     * 账单编号
     */
    @Excel(name = "账单编号")
    private String billId;

    /**
     * 实际金额
     */
    @Excel(name = "实际金额")
    @ApiModelProperty("实际金额")
    private Double actualAmount;

    /**
     * 花销时间
     */
    @Excel(name = "花销时间")
    private LocalDate spendingTime;

    /**
     * 花销金额
     */
    @Excel(name = "花销金额")
    private Double spendingPrice;

    /**
     * 用户Id
     */
    @Excel(name = "用户Id")
    private Long userId;

    @ApiModelProperty("账单详情Id")
    private Integer idDetail;
    @ApiModelProperty("账单详情名称")
    private String name;
    @ApiModelProperty("账单详情金额")
    private Double price;
    @ApiModelProperty("账单Id")
    private Integer spendId;
}
